Skip to content

fix(proto): prevent PATH_CHALLENGE/RESPONSE from being sent in datagrams that can't be expanded#699

Open
divagant-martian wants to merge 1 commit into
mainfrom
send-path-challenge-response-only-expanded-datagrams
Open

fix(proto): prevent PATH_CHALLENGE/RESPONSE from being sent in datagrams that can't be expanded#699
divagant-martian wants to merge 1 commit into
mainfrom
send-path-challenge-response-only-expanded-datagrams

Conversation

@divagant-martian

Copy link
Copy Markdown
Collaborator

Description

Philipp's monkeys generated a case in which path challenges are sent on the
second datagram of a batch, where the first one is smaller than the required
MIN_INITIAL_SIZE. This causes a misalignment of the batch since these frames
must be sent on expanded datagrams.

Breaking Changes

n/a

Notes & open questions

Regression test is in #694

Change checklist

  • Self-review.

@divagant-martian divagant-martian added this to the noq: iroh v1.0 + 1 milestone Jun 9, 2026
@divagant-martian divagant-martian added the compliance Concerns regarding adherence to the appropriate specification (RFC, draft, ...) label Jun 9, 2026
@divagant-martian divagant-martian self-assigned this Jun 9, 2026
@divagant-martian divagant-martian requested a review from flub June 9, 2026 16:03
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/noq/pr/699/docs/noq/

Last updated: 2026-06-09T16:05:47Z

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Performance Comparison Report

0c8233a239404ef4894c71c56165aa02e7da2289 - artifacts

Raw Benchmarks (localhost)

Scenario noq upstream Delta CPU (avg/max)
large-single 5507.7 Mbps 7940.6 Mbps -30.6% 96.2% / 100.0%
medium-concurrent 5508.3 Mbps 7856.0 Mbps -29.9% 96.5% / 148.0%
medium-single 4172.7 Mbps 4665.4 Mbps -10.6% 98.0% / 151.0%
small-concurrent 3803.6 Mbps 5181.7 Mbps -26.6% 94.5% / 102.0%
small-single 3536.8 Mbps 4760.0 Mbps -25.7% 93.6% / 103.0%

Netsim Benchmarks (network simulation)

Condition noq upstream Delta
ideal 3105.9 Mbps N/A N/A
lan 782.4 Mbps N/A N/A
lossy 69.9 Mbps N/A N/A
wan 83.8 Mbps N/A N/A

Summary

noq is 25.9% slower on average

@n0bot n0bot Bot added this to iroh Jun 9, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compliance Concerns regarding adherence to the appropriate specification (RFC, draft, ...)

Projects

Status: 🚑 Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant